﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Vending_machine_system.VendingMachineClass
{
    /// <summary>
    /// 贩卖机投放信息
    /// </summary>
    public class VendingClass
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long Venid { get; set; }
        //生产批次
        public string? Productionbatch { get; set; }
        //投放人员
        public long Placementpersonneld { get; set; }
        //维修人员
        public long Maintenancepersonneld { get; set; }
        //投放商家
        public long BusinessId { get; set; }
        //投放日期
        public DateTime Placementdate { get; set; }
        //是否能正常作业
        public bool IsDeleted { get; set; } = true;
    }
}
